<script setup lang="ts">
import {RouterView} from 'vue-router';
import { ref } from 'vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import 'dayjs/locale/zh-cn';
import dayjs from 'dayjs';
dayjs.locale('zh-cn');


const locale = ref(zhCN)
</script>

<template>
  <a-config-provider :locale="locale">
  <router-view #="{ Component }">
    <component :is="Component" />
  </router-view>
  </a-config-provider>
</template>
